﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace QYmall.Core.Model.Models
{
    /// <summary>
    /// 分类规格筛选(用于查询)
    /// </summary>
    public class ShopCategorySku
    {
        /// <summary>
        /// 自增ID
        /// </summary>
        [Display(Name = "自增ID")]
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long Id { get; set; }

        /// <summary>
        /// 所属商品ID
        /// </summary>
        [Display(Name = "所属商品")]
        public long GoodsId { get; set; }

        /// <summary>
        /// 规格ID(一级)
        /// </summary>
        [Display(Name = "所属规格")]
        public long SkuId { get; set; }

        /// <summary>
        /// 所属分类ID
        /// </summary>
        [Display(Name = "所属分类")]
        public int CategoryId { get; set; }
    }
}
